=head1 BASE INFORMATION

=head2 Filename

catwork.pl

=head2 Path

/

=head2 Notes

=head2 ToDo's

=head2 Revision

=over 4

=item *

$HeadURL: http://catwork.googlecode.com/svn/trunk/catwork.pl $

=item *

$Id: catwork.pl 3 2011-03-21 17:56:59Z hg.winkler.77 $

=back

=head2 Source Code

=cut

my $PATH_WEB = "/";
my $PATH_BASE= "catwork/";

# Path for frontend
my $PATH_JS = "/static/js";
my $PATH_CSS = "/static/css";
my $PATH_IMG = "/static/images";

# Path for backend
my $PATH_LIB    = "/lib";
my $PATH_SCRIPT = "/script";
my $PATH_SRC    = "/root/src";
my $PATH_STATIC = "/root/static";

{
    name        => 'catwork',
    default_view => 'Default',
    # Alias for web server configuration
    PATH_WEB    => $PATH_WEB,
    PATH_BASE   => $PATH_BASE,
    # Path for frontend
    PATH_JS     => $PATH_JS,
    PATH_CSS    => $PATH_CSS,
    PATH_IMG    => $PATH_IMG,

    # Path for backend
    PATH_LIB    => $PATH_LIB,
    PATH_SCRIPT => $PATH_SCRIPT,
    PATH_SRC    => $PATH_SRC,
    PATH_STATIC => $PATH_STATIC,


    jquery => {
        js => {
            base    => $PATH_JS."/jquery/jquery-1.4.2.min.js",
            ui      => $PATH_JS."/jquery/jquery-ui-1.8.6.min.js",
        },
        css => {
            ui      => $PATH_CSS."/jquery/jquery-ui-1.8.6.css",
        },
        plugins => {
            js => {
                jstree  => $PATH_JS."/jquery/plugins/jquery.jstree.js",
                hotkeys => $PATH_JS."/jquery/plugins/jquery.hotkeys.js",
                cookies => $PATH_JS."/jquery/plugins/jquery.cookie.js",
                jgrowl  => $PATH_JS."/jquery/plugins/jquery.jgrowl.js",
                data_tables  => $PATH_JS."/jquery/plugins/jquery.dataTables.js",
            },
            css => {
                jstree_catwork => $PATH_CSS."/jquery/plugins/jstree/catwork.css",
                jstree_default  => $PATH_CSS."/jquery/plugins/jstree/default.css",
                jgrowl          => $PATH_CSS."/jquery/plugins/jgrowl.css",
                data_tables      => $PATH_CSS."/jquery/plugins/data_tables.css",
            },
        },
    },
    catwork => {
        js => {
            CORE => $PATH_JS."/catwork/core.js",
            core => {
                messages => $PATH_JS."/catwork/core/messages.js",
            },
        },
        css => {
            CORE => $PATH_CSS."/catwork/core.css",
            core => {
                standard_theme => $PATH_CSS."/catwork/core/standard_theme.css",
            },
        },
    },
    yaml => {
        base         => $PATH_CSS."/yaml/core/base.css",
        basemod      => $PATH_CSS."/yaml/screen/basemod.css",
        content      => $PATH_CSS."/yaml/screen/content.css",
        layout_patch => $PATH_CSS."/yaml/custom/layout_patch.css",
        layout => {
            twocol_left_satic_dyn => $PATH_CSS."/yaml/layout_2col_left_13.css",
            patches => {
                twocol_left_satic_dyn => $PATH_CSS."/yaml/patches/patch_2col_left_13.css",
            },
        },
        js => {
            focusfix => $PATH_JS."/yaml/focusfix.js",
        },
    },
    # APP specific stuff
    # capital letter are core js or css files for APP
    # small letter are parts related to an APP
    # in future we will put that to the registry.pl
    apps => {
        js => {
            APIDOC => $PATH_JS."/catwork/apidoc.js",
            apidoc => {
                viewer => $PATH_JS."/catwork/apidoc/viewer.js",
            }
        },
        css => {
            APIDOC => $PATH_CSS."/catwork/apidoc.css",
            apidoc => {},
        },
        registry => {
            apidoc => {
                paths => {
                    perl_lib     => "../".$PATH_BASE."lib/",
                    perl_script  => "../".$PATH_BASE."script/",
                    tt_src       => "../".$PATH_BASE."root/src/",
                    js_catwork   => "../".$PATH_BASE."root/static/js/catwork/",
                    js_jquery    => "../".$PATH_BASE."root/static/js/jquery/",
                    css_catwork  => "../".$PATH_BASE."root/static/css/catwork/",
                },
            },
        }
    },
};

=head1 NAME

catwork::config

=head1 DESCRIPTION

catwork configuartion

=head1 AUTHOR

Hans-Georg Winkler,,,

=head1 LICENSE

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut
